﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net.Appender;

namespace XModify
{
    public class XMailLogAppender : SmtpAppender
    {
        protected override void SendEmail(string messageBody)
        {
            this.Subject = string.Format("{0}  -  {1}", this.Subject, Environment.MachineName);

            base.SendEmail(messageBody);
        }
    }
}
